
// #ifndef VUE3
import Vue from 'vue'
import App from './App'

// 导入 store 的实例对象
import store from './store/store.js'
// main.js，注意要在use方法之后执行
import uView from "@/uni_modules/uview-ui";
Vue.use(uView); 

Vue.config.productionTip = false

App.mpType = 'app'

const app = new Vue({
    ...App,
	//  将 store 挂载到 Vue 实例上
	store
})

app.$mount()
// #endif

// #ifdef VUE3
import { createSSRApp } from 'vue'
import App from './App.vue'
export function createApp() {
  const app = createSSRApp(App)
  return {
    app
  }
}
// #endif